package cn.tedu.micro.demo.device.repository;

import cn.tedu.micro.demo.common.pojo.po.GunInfoPO;
import cn.tedu.micro.demo.device.mapper.GunInfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

@Repository
public class GunRepositoryImpl implements GunRepository{
    @Autowired
    private GunInfoMapper gunInfoMapper;

    @Override
    public GunInfoPO getGunInfo(Long gunId) {
        return gunInfoMapper.selectById(gunId);
    }
}
